<div class="page-group">
	<div class="page" data-page="book_kind">
		<header class="bar bar-nav">
			<a onclick="window.location.href='{:U("User/order_buy")}'" class="icon" style="width: 40%"> <img
				src="__PUBLIC__/img/iconfont_back@2x.png" class="back_img">
			</a>
		</header>
		<div class="content" style="margin-bottom: 0;">

			<div class="list-block media-list" style="margin:0;">
				<ul id="order_num" style="background:none;">

					<!----	0-待付款	-未付款---->
					<!--	1-待发货	-	已付款未发货-	-->
					<!--	2-待收货	-	已发货，配送中	-->
					<!--	3-待评价	-	已收货	-->
					<!--	4-交易成功	-	完成评价-	-->
					<li>
						<volist name="d.order_has_book" id="v">
							<a class="item-link item-content" onclick="window.location.href='{:U("Book/detail","id=".$v['book_id'])}'" style="padding-left: 1rem; background: #F5F5F5">
							<div class="item-media">
								<img src="{$v.b_logo}" style='width: 4rem;'>
							</div>
							<div class="item-inner">
								<div class="item-title-row">
									<div class="item-title">《{$v.sm}》</div>
								</div>
								<div class="item-subtitle color_price"><s>原价:￥{$v.dj|number_format=###,2}</s></div>
								<div class="item-text" style="height: auto">折后:{$v['dj']*$d['discount_buy']|number_format=###,2}</div>
								<div class="item-text" style="height: auto">X{$v.quantity}</div>
								<!--div class="item-text" style="height: auto;"><input style="background:#DC2222 ;width: auto;border:none;color:#FFF" type="button" value="七天退货"></div-->
							</div>
							</a>
						</volist>
						<volist name="d.product" id="item">
							<a class="item-link item-content" style="padding-left: 1rem; background: #F5F5F5">
								<div class="item-media">
									<img src="{$item.logo}" style='width: 4rem;'>
								</div>
								<div class="item-inner">
									<div class="item-title-row">
										<div class="item-title">{$item.name}</div>
									</div>
									<div class="item-text" style="height: auto">积分:{$item['price']}</div>
									<!--div class="item-text" style="height: auto;"><input style="background:#DC2222 ;width: auto;border:none;color:#FFF" type="button" value="七天退货"></div-->
								</div>
							</a>
						</volist>
						<!--div class="trans_fee">
                            <span>配送方式</span> <span class="user_info_public">快递7.00元</span>
                        </div-->
						<div class="trans_fee">
								<span class="user_info_public order_rent_price">
									共<span id="total_num">{$d.total_rent}</span>件商品
									合计：￥{$d['money']*$d['discount_buy']+$d['price_freight']|number_format=###,2}元（含运费：￥{$d.price_freight|number_format=###,2}元）	</span>
						</div>
						<div class="trans_fee" style="text-align: right;">
							<switch name="v.state_order">
								<case value="0">
									<input value="取消订单" type="button" class="order_op_button color_opbac_button">
									<input value="付款" type="button" class="order_op_button color_opbac_button_com">
								</case>
								<case value="1">
									<input value="催促卖家" type="button" class="order_op_button color_opbac_button_com">
								</case>
								<case value="2">
									<input value="查看物流" type="button" class="order_op_button color_opbac_button">
									<input value="确认收货" type="button" class="order_op_button color_opbac_button_com">
								</case>
								<case value="3">
									<input value="评价" type="button" class="order_op_button color_opbac_button_com">
								</case>
								<case value="4">
									<input value="已评价" type="button" class="order_op_button color_opbac_button_com">
								</case>
								<default />
							</switch>

						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
<script>

</script>